# 关系运算符

a = 10
b = 11
print(a > b)
print(a < b)

print(a == b)
print(a != b)

x = 'abc'
y = 'abcd'
print(x == y)
print(x > y)
print(x > y)

'''
输入考试分数，判断是否到100之间
'''
score = float(input('输入考试分数：'))
print(80 <= score <= 100)  # python 可以按照算数运算书写

'''
输入手机价格，比较两个价格是否相等
'''
a_price = float(input("请输入商品A价格："))
b_price = float(input("请输入商品B价格："))

print("a_price<=b_price:", a_price <= b_price, sep='->')
print("a_price>=b_price:", a_price >= b_price, sep='->')


